<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<c:if test="${requestScope.no_result!=null }">
   ${requestScope.no_result }
</c:if>

<img width="850px;" height="300px;" style="margin-left:200px; margin-right: 200px; margin-bottom: 50px;" src="/${initParam.context_root }/img/MD1.jpg"></img>

<div class="alert alert-info" style="margin-left: 80px; margin-right: 100px;">

<b>${param.categoryName }</b></div>
   
<div class="row" style="margin-left: 50px; ">
   <c:forEach items="${requestScope.list }" var="completePCResult">
	 <div class="col-sm-6 col-md-3" style=" float:left; width:380px; margin-bottom: 30px; margin-left: 15px; margin-right: 15px;">
	 	<div class="thumbnail" style="width:380px; height:700px;">
         <a href="/${initParam.context_root }/product/detailProduct.do?completeId=${completePCResult.completeId }" ><img height="250px" width="250px" src="/${initParam.context_root }/product-img/${completePCResult.fileName }"></a>
         <div class="caption">
      	<table class="table table-striped" id="productList" style="width: 330px;">
       	
         <tr><td><b>판매수량</b></td><td>${completePCResult.cnt }</td><td colspan="2">이용후기</td></tr>
         <tr><td><b>모니터</b></td><td colspan="3">모니터에요모니터</td></tr>
         <tr><td><b>가격</b></td><td colspan="3">${completePCResult.completePrice }원</td></tr>
         <tr><td><b>윈도우</b></td><td colspan="3">${completePCResult.osName }</td></tr>
         <tr><td><b>CPU</b></td><td colspan="3">${completePCResult.cpuName }</td></tr>
         <tr><td><b>Mainboard</b></td><td colspan="3">${completePCResult.mainboardName }</td></tr>
         <tr><td><b>메모리</b></td><td colspan="3">${completePCResult.memoryName }</td></tr>
         <tr><td><b>하드</b></td><td colspan="3">${completePCResult.hddName }</td></tr>
         <tr><td><b>그래픽</b></td><td colspan="3">${completePCResult.graphicName }</td></tr>
       
    	 </table>
         
     	</div>
   </div>
   </div>
   </c:forEach>
</div>


